<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Create Configuration</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js"></script>
<script type="text/javascript" src="val.js"></script>
<script type="text/javascript" src="jquery.tokeninput.js"></script>
<link rel="stylesheet" href="token-input.css" type="text/css" />

<style type="text/css">
<!--
body, td, th {
	font-family: segoe UI, tahoma, trebuchet MS, verdana;
	font-size: 12px;
	color: #000;
}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
a:link {
	color: #03C;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #03C;
}
a:hover {
	text-decoration: none;
	color: #03C;
}
a:active {
	text-decoration: none;
	color: #03C;
}
.checkbox {
}
select{	font-family: segoe UI, tahoma, trebuchet MS, verdana;
	font-size: 12px;
	color: #000;}
input{	font-family: segoe UI, tahoma, trebuchet MS, verdana;
	font-size: 12px;
	color: #000; }
-->
</style>
</head>

<body>

<div align="center">
<form name="create_config" id="create_config" action="make_config.php" method="post">
<table width="800" border="0" align="center" cellpadding="4" cellspacing="0">
  <tr>
    <td width="394" align="left"><strong style="font-size: 16px">Booking Engine</strong></td>
    <td width="335">&nbsp;</td>
    <td width="47">&nbsp;</td>
  </tr>
</table>
<table width="800" height="87" border="0" cellpadding="4" cellspacing="1">
  <tr>
    <td align="left"  valign="top" bgcolor="#F3F3F3"><strong>&raquo; Make Configuration</strong></td>
</tr>
  <tr>
    <td width="394" align="left" bgcolor="#f8f8f8"><strong>&raquo; Departure </strong></td>
</tr>
  <tr>
    <td align="left" bgcolor="#f8f8f8">
      
      
      
      Select Type-&gt;
      <input type="radio" name="dep_type" id="dep_arp" value="1" align="absmiddle" class="required"/>Aiport
      <input type="radio" name="dep_type" id="dep_sta" value="2" align="absmiddle" class="required"/>State
      <input type="radio" name="dep_type" id="dep_con" value="3" align="absmiddle" class="required"/>Country
      <input type="radio" name="dep_type" id="dep_reg" value="4" align="absmiddle" class="required" />Region
      
    </td>
    </tr>
  <tr>
    <td align="left" bgcolor="#f8f8f8" id="dep_t">&nbsp;</td>
    </tr>
  <tr>
    <td align="left" bgcolor="#f8f8f8"><strong>&raquo; Arrival</strong></td>
  </tr>
  <tr>
    <td align="left" bgcolor="#f8f8f8">Select Type-&gt;
      <input type="radio" name="ret_type" id="ret_arp" value="1" align="absmiddle" class="required"/>
      Aiport
      <input type="radio" name="ret_type" id="ret_sta" value="2" align="absmiddle" class="required"/>
      State
      <input type="radio" name="ret_type" id="ret_con" value="3" align="absmiddle" class="required"/>
      Country
      <input type="radio" name="ret_type" id="ret_reg" value="4" align="absmiddle" class="required"/>
      Region</td>
  </tr>
  <tr>
    <td align="left" bgcolor="#f8f8f8" id="ret_t">&nbsp;</td>
  </tr>
  <tr>
    <td align="left" bgcolor="#f8f8f8"><strong>&raquo; Status</strong></td>
  </tr>
  <tr>
    <td align="left" bgcolor="#f8f8f8"><table width="19%" border="0" cellspacing="0" cellpadding="4">
      <tr>
        <td width="20"><input type="radio" name="status" id="radio15" value="1"  class="required"  /></td>
        <td width="36">Active</td>
        <td width="20"><input type="radio" name="status" id="radio16" value="0"  class="required"   /></td>
        <td width="42">Paused</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td align="left" bgcolor="#f8f8f8"><p><strong>&raquo; Comment</strong></p></td>
</tr>
  <tr>
    <td align="left" bgcolor="#f8f8f8"><label>
      <textarea name="comment" id="comment" cols="30" rows="3" style="width:792px;"></textarea>
    </label></td>
</tr>
  <tr>
    <td align="center" bgcolor="#f8f8f8"><p>
      <input type="submit" name="button" id="button" value="Submit" style="background-color:#cf0104; color:#FFF; font-family:segoe Ui; font-size:13px; width:102px;" />
    </p></td>
</tr>
</table>
<p>&nbsp;</p>
</form>
</div>
<script language="JavaScript">

 $(document).ready(function() 
        { 
		    $("#create_config").validate();
		});
$('#dep_arp').click(function(){page="airport_code.php";$("#dep_t").html('<select id="dep" name="dep" class="required"></select>');$("#dep").fcbkcomplete({ json_url: page,cache: false,filter_case: false,filter_hide: false,firstselected: false});});
$('#dep_sta').click(function(){page="state.php";$("#dep_t").html('<select id="dep" name="dep" class="required"></select>');$("#dep").fcbkcomplete({ json_url: page,cache: false,filter_case: false,filter_hide: false,firstselected: false});});
$('#dep_con').click(function(){page="country.php";$("#dep_t").html('<select id="dep" name="dep" class="required"></select>');$("#dep").fcbkcomplete({ json_url: page,cache: false,filter_case: false,filter_hide: false,firstselected: false});});
$('#dep_reg').click(function(){page="region.php";$("#dep_t").html('<select id="dep" name="dep" class="required"></select>');$("#dep").fcbkcomplete({ json_url: page,cache: false,filter_case: false,filter_hide: false,firstselected: false});});

$('#ret_arp').click(function(){page="airport_code.php";$("#ret_t").html('<select id="ret" name="ret" class="required"></select>');$("#ret").fcbkcomplete({ json_url: page,cache: false,filter_case: false,filter_hide: false,firstselected: false});});
$('#ret_sta').click(function(){page="state.php";$("#ret_t").html('<select id="ret" name="ret" class="required"></select>');$("#ret").fcbkcomplete({ json_url: page,cache: false,filter_case: false,filter_hide: false,firstselected: false});});
$('#ret_con').click(function(){page="country.php";$("#ret_t").html('<select id="ret" name="ret" class="required"></select>');$("#ret").fcbkcomplete({ json_url: page,cache: false,filter_case: false,filter_hide: false,firstselected: false});});
$('#ret_reg').click(function(){page="region.php";$("#ret_t").html('<select id="ret" name="ret" class="required"></select>');$("#ret").fcbkcomplete({ json_url: page,cache: false,filter_case: false,filter_hide: false,firstselected: false});});


    </script>



</body>
</html>
